package cn.gx.domain;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

public class Teacher implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -7911529035686723084L;
	public Integer id;
	public String name;
	public int age;
	public String email;
	public String tel;
	public String password;
	public int type;
	
	public Set<Classes> classess=new HashSet<Classes>();

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public Set<Classes> getClassess() {
		return classess;
	}

	public void setClassess(Set<Classes> classess) {
		this.classess = classess;
	}
	
	
}
